<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<script type="text/javascript">
function sum(arr){
	return arr.reduce(function(x,y){
		return x+y;
	});
}
</script>
    <button onclick="abs(1)">test</button>
	<h1>hello！</h1>
</body>
</html>